appModule.factory(
  'PhoneService',
  [
    '$resource', 'api', '$http',
    function($resource, api, $http) {
      return {
        login: $resource(conf.dev.baseUrl + 'menu.json', {}, {
          query: {
            method: 'POST',
            isArray: true,
          }
        }),
      }
    },
  ]
);
